package cn.jeeweb.web.modules.sys.entity;

import java.util.List;

/**
 * Created by DELL on 2019/12/4.
 * 信息展示扩展
 */
public class DataVo {

//    private String title;
    private String moduleId;
    private String labelText;
    private String data;
    private String propertyName;
    private String aliasName;//别名
    private String canDisplay;//0：不展示，1：展示
    private String isDisplayAsSearchResult;
    private String dataType;//数据类型 0：普通字符串，1：字典值 2：引用类型 3：日期
    private String referenceModuleId;//引用类型id
    private String dictGroupCode;//字典分组code

    private String  type;//tab类型 0：表单，1：表格   2:图纸tab
    private String operationType;//操作类型 1:保养计划与点检模板的关联  2：点检模板的操作 3:保养任务操作  4:工装与设备的关联 5：工装的替换信息 6:工装的操作申请 7：设备关联的备件

    private List<DataVo> voList;

    public String getLabelText() {
        return labelText;
    }

    public void setLabelText(String labelText) {
        this.labelText = labelText;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public List<DataVo> getVoList() {
        return voList;
    }

    public void setVoList(List<DataVo> voList) {
        this.voList = voList;
    }

    public String getDictGroupCode() {
        return dictGroupCode;
    }

    public void setDictGroupCode(String dictGroupCode) {
        this.dictGroupCode = dictGroupCode;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }

    public String getCanDisplay() {
        return canDisplay;
    }

    public void setCanDisplay(String canDisplay) {
        this.canDisplay = canDisplay;
    }

    public String getReferenceModuleId() {
        return referenceModuleId;
    }

    public void setReferenceModuleId(String referenceModuleId) {
        this.referenceModuleId = referenceModuleId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOperationType() {
        return operationType;
    }

    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }

    public String getIsDisplayAsSearchResult() {
        return isDisplayAsSearchResult;
    }

    public void setIsDisplayAsSearchResult(String isDisplayAsSearchResult) {
        this.isDisplayAsSearchResult = isDisplayAsSearchResult;
    }

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public DataVo() {

    }

    public DataVo(String labelText, String data,String propertyName,String aliasName,String canDisplay,String isDisplayAsSearchResult, String dataType,String referenceModuleId, String dictGroupCode) {
//        this.title = title;
        this.labelText = labelText;
        this.data = data;
        this.propertyName = propertyName;
        this.aliasName = aliasName;
        this.canDisplay = canDisplay;
        this.isDisplayAsSearchResult = isDisplayAsSearchResult;
        this.dataType = dataType;
        this.referenceModuleId = referenceModuleId;
        this.dictGroupCode = dictGroupCode;
    }

    public DataVo(String labelText, String data,String propertyName, String dataType,String dictGroupCode) {
//        this.title = title;
        this.labelText = labelText;
        this.data = data;
        this.propertyName = propertyName;
        this.dataType = dataType;
        this.dictGroupCode = dictGroupCode;
    }
}
